import React,{Component} from 'react';


import {observer,inject} from "mobx-react";
import {computed} from "mobx";
import {Button} from "antd";


import {View} from "../component/index";


// 财务管理
@inject(["store"])
@observer
class Finance extends Component{

  constructor(props){
    super(props);
    this.store = this.props.store;
  }

  @computed get sys(){return this.store.sys;}

  componentDidMount(){
    this.store.navigation({page:"Home"});
  }
  
  render(){
    return(
      <View>
        <Button onClick={()=>this.store.send({act:"admin-type-select",upid:0})}></Button>
        <Button onClick={()=>this.props.history.push("Link")}>链接</Button>
      </View>
    );
  }
}

export default Finance;